package com.thebox.config;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2002</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */

public class HomepageModule {
    public String name;
    public String url;
    public String urlType;

    public HomepageModule() {
    }

    public String getName() {
        return name;
    }

    public String getUrl() {
        return url;
    }

    public String getUrlType() {
        return urlType;
    }

    public void setModule(String n, String u, String t) {
        name = n;
        url = u;
        urlType = t;
    }

    public String toString() {
        String newline = System.getProperty("line.separator");
        StringBuffer buf = new StringBuffer();

        buf.append("HomepageModule - ").append(newline);
        buf.append("\tName=").append(name).append(newline);
        buf.append("\tUrl=").append(url).append(newline);
        buf.append("\tUrlType=").append(urlType).append(newline);

        return buf.toString();
    }

    public static void debug(Object obj) {
        System.out.println("From HomepageModule: " + obj);
    }
}